package cn.aws360.boot.base.api.constant.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author junnan
 */
@Getter
@RequiredArgsConstructor
public enum ResTypeEnum {

    /**
     * 成功
     */
    OK("成功", 0, "操作成功!"),

    /**
     * 失败
     */
    FAIL("失败", 1, "操作失败，请稍后再试!"),

    /**
     * 失败
     */
    ERROR("异常", 2, "操作异常，请稍后再试!"),

    ;

    private final String label;
    private final Integer value;
    private final String message;

}